package cn.yuan.basic.mapper;

import cn.yuan.basic.query.BaseQuery;

import java.util.List;

public interface BaseMapper<T> {

    void save(T t);

    void remove(Long id);

    void update(T t);

    T loadById(Long id);

    Integer queryCount();

    List<T> queryData(BaseQuery baseQuery);


    List<T> loadAll();

}
